//
//  E7HelpLayer.h
//  EndlessBattle
//
//  Created by cc on 12-5-7.
//  Copyright (c) 2012年 PalmGame. All rights reserved.
//

#ifndef EndlessBattle_E7HelpLayer_h
#define EndlessBattle_E7HelpLayer_h

#include "E7GameDefine.h"

class CE7GameLayer ;
class CE7HelpLayer : public CE7Layer
{
public:
    CE7HelpLayer(CE7GameLayer* pParent) ;
//    CE7HelpLayer(CE7GameLayer* pParent) ;
    ~CE7HelpLayer() ;

public:
//    virtual void draw() ;
    virtual bool Loop() ;
    
    virtual void ccTouchesBegan(CCSet *pTouches, CCEvent *pEvent);
//    virtual void ccTouchesMoved(CCSet *pTouches, CCEvent *pEvent);
//    virtual void ccTouchesEnded(CCSet *pTouches, CCEvent *pEvent);
//    virtual void ccTouchesCancelled(CCSet *pTouches, CCEvent *pEvent);

public:
    void Show() ;
    void Hide() ;

private:
    CCLayerColor* m_pBackColor ;
    CCSprite*     m_pHelpBack ;
    CCSprite*     m_pHelpPage[2] ;
    int           m_bIsFlag ;
    int           m_nPageIndex ;
    int           m_nPageMax ;
    CE7GameLayer* m_pParent ;
} ;

#endif















